package asteroids.model.programs.expression;

import asteroids.model.programs.type.*;

public class GetRadius extends Getter {

	public GetRadius(int line, int column, E e) {
		super(line, column, e);
	}
	
	public DoubleType getValue(){
		return new DoubleType(((Entity) getExpression().getValue()).getValue().getRadius());
	}

}
